package com.dan.service;

import com.dan.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author danqihao
 */
@Mapper
public interface UserService {
    public User findByUserName(String username);

    public void add(String username, String password);

    public void update(User user);

    public void updateAvatar(String avatar, Integer id);

    public void updatePwd(String newPwd, Integer id);
}
